package me.longerian.abc.chapter5;

import java.io.IOException;
import java.nio.channels.SelectionKey;

public interface TCPProtocol {

	void handleAccept(SelectionKey key) throws IOException;
	void handleRead(SelectionKey key) throws IOException;
	void handleWrite(SelectionKey key) throws IOException;
	
}
